import Vue from "vue";
import VueRouter from "vue-router";
import authentication from './modal/authentication'
import anonymous from './modal/anonymous'
Vue.use(VueRouter);

const routes = [
  ...anonymous,
  ...authentication
];

const router = new VueRouter({
  mode: "history",
  base: process.env.BASE_URL,
  routes
});

export default router;
